package cn.myschool.dao;



import cn.myschool.entity.Subject;
import cn.myschool.pojo.Subject2;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface SubjectDao {
    public List<Subject> findall();
    public int add(Subject s);
    public int findtotal();
    public int update(Subject s);
    public int delete(long id);
    public  List<Subject> search(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize );
}
